package com.lagou.homework.game

class Computer {
  var name: String = _
  var score: Int = _

  def showFist(choose: Int): Unit = {
    choose match {
      case 1 => println(s"${name}出拳！===> 剪刀 ")
      case 2 => println(s"${name}出拳！===> 石头 ")
      case 3 => println(s"${name}出拳！===> 布   ")
    }
  }
}
